<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      UDisks-2.8.4
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;12.&nbsp;System Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="sysstat.html" title=
          "Sysstat-12.3.1">Prev</a>
          <p>
            Sysstat-12.3.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="unrar.html" title="UnRar-5.9.2">Next</a>
          <p>
            UnRar-5.9.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sysutils.html" title=
          "Chapter&nbsp;12.&nbsp;System Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="udisks2" name="udisks2"></a>UDisks-2.8.4
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to UDisks
        </h2>
        <p>
          The <span class="application">UDisks</span> package provides a
          daemon, tools and libraries to access and manipulate disks and
          storage devices.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/storaged-project/udisks/releases/download/udisks-2.8.4/udisks-2.8.4.tar.bz2">
                https://github.com/storaged-project/udisks/releases/download/udisks-2.8.4/udisks-2.8.4.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: ee74a32fe2a7ab3dd3aa9e2283b844ea
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.5 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 36 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.3 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          UDisks Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="libatasmart.html" title=
          "libatasmart-0.19">libatasmart-0.19</a>, <a class="xref" href=
          "libblockdev.html" title="libblockdev-2.23">libblockdev-2.23</a>,
          <a class="xref" href="libgudev.html" title=
          "libgudev-233">libgudev-233</a>, <a class="xref" href=
          "libxslt.html" title="libxslt-1.1.34">libxslt-1.1.34</a>, and
          <a class="xref" href="../postlfs/polkit.html" title=
          "Polkit-0.116">Polkit-0.116</a>
        </p>
        <h4>
          Required at runtime
        </h4>
        <p class="required">
          <a class="xref" href="../postlfs/btrfs-progs.html" title=
          "btrfs-progs-5.4.1">btrfs-progs-5.4.1</a>, <span class=
          "phrase"><a class="xref" href="dbus.html" title=
          "dbus-1.12.16">dbus-1.12.16</a>,</span> <a class="xref" href=
          "../postlfs/dosfstools.html" title=
          "dosfstools-4.1">dosfstools-4.1</a>, <a class="xref" href=
          "../postlfs/gptfdisk.html" title=
          "gptfdisk-1.0.5">gptfdisk-1.0.5</a>, <a class="xref" href=
          "../postlfs/mdadm.html" title="mdadm-4.1">mdadm-4.1</a>, and
          <a class="xref" href="../postlfs/xfsprogs.html" title=
          "xfsprogs-5.5.0">xfsprogs-5.5.0</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <span class="phrase"><a class="xref" href="elogind.html" title=
          "elogind-243.7">elogind-243.7</a></span>
        </p>
        <h4>
          Optional (Required if building GNOME)
        </h4>
        <p class="optional">
          <a class="xref" href="gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="python-modules.html#dbus-python" title=
          "D-Bus Python-1.2.16">D-Bus Python-1.2.16</a> (for the integration
          tests), <a class="xref" href="gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="xref" href=
          "../postlfs/lvm2.html" title="LVM2-2.03.09">LVM2-2.03.09</a>,
          <a class="xref" href="../postlfs/ntfs-3g.html" title=
          "ntfs-3g-2017.3.23">ntfs-3g-2017.3.23</a>, <a class="xref" href=
          "python-modules.html#pygobject3" title=
          "PyGObject-3.36.0">PyGObject-3.36.0</a> (for the integration
          tests), <a class="ulink" href=
          "https://github.com/relan/exfat">exFAT</a>, and <a class="ulink"
          href="https://github.com/sahlberg/libiscsi">libiscsi</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/udisks2">http://wiki.linuxfromscratch.org/blfs/wiki/udisks2</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of UDisks
        </h2>
        <p>
          Install <span class="application">UDisks</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --disable-static     &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>. A more thorough test can be run with
          <span class="command"><strong>make ci</strong></span>. You must
          first create the directories <code class=
          "filename">/var/run/udisks2</code> and <code class=
          "filename">/var/lib/udisks2</code>, and the optional python modules
          should be present.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <code class="option">--enable-gtk-doc</code>: Use this parameter if
          <span class="application">GTK-Doc</span> is installed and you wish
          to rebuild and install the API documentation.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">udisksctl and umount.udisks2</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libudisks2.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/etc/udisks2, /usr/include/udisks2,
              /usr/libexec/udisks2, /usr/share/gtk-doc/html/udisks2, and
              /var/lib/udisks2</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="udisksctl" name="udisksctl"></a><span class=
                    "term"><span class=
                    "command"><strong>udisksctl</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command-line program used to interact with the
                    <span class="command"><strong>udisksd</strong></span>
                    daemon.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="umountudisks2" name=
                    "umountudisks2"></a><span class="term"><span class=
                    "command"><strong>umount.udisks2</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command-line program used to unmount file systems
                    that have been mounted by the <span class=
                    "application">UDisks</span> daemon.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libudisks2" name="libudisks2"></a><span class=
                    "term"><code class="filename">libudisks2.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">UDisks</span> API
                    functions.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-19 10:47:37 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="sysstat.html" title=
          "Sysstat-12.3.1">Prev</a>
          <p>
            Sysstat-12.3.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="unrar.html" title="UnRar-5.9.2">Next</a>
          <p>
            UnRar-5.9.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sysutils.html" title=
          "Chapter&nbsp;12.&nbsp;System Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
